Skip to content

Conversation

JonathanPOMPA
Copy link

This PR computes attributes that never change. Before, they were properties of the Node class that were re-computed at each call. Now they are computed once in the __init__ method.

This seems small but in our case it enhances quite a lot the performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant